package factory;

import dao.AdministratorDao;
import dao.DiscountDao;
import dao.GoodsDao;
import dao.ManagerDao;
import dao.MemberDao;
import dao.OrderDao;
import dao.RecordDao;
import dao.SalerDao;
import dao.ShopDao;
import dao.imp.AdministratorDaoImp;
import dao.imp.DiscountDaoImp;
import dao.imp.GoodsDaoImp;
import dao.imp.ManagerDaoImp;
import dao.imp.MemberDaoImp;
import dao.imp.OrderDaoImp;
import dao.imp.RecordDaoImp;
import dao.imp.SalerDaoImp;
import dao.imp.ShopDaoImp;

public class DaoFactory {
	
	public static AdministratorDao getAdministratorDao() {
		return AdministratorDaoImp.getInstance();
	}
	
	public static ManagerDao getManagerDao() {
		return ManagerDaoImp.getInstance();
	}
	
	public static MemberDao getMemberDao() {
		return MemberDaoImp.getInstance();
	}
	
	public static SalerDao getSalerDao() {
		return SalerDaoImp.getInstance();
	}
	
	public static DiscountDao getDiscountDao() {
		return DiscountDaoImp.getInstance();
	}
	
	public static GoodsDao getGoodsDao() {
		return GoodsDaoImp.getInstance();
	}
	
	public static RecordDao getRecordDao() {
		return RecordDaoImp.getInstance();
	}
	
	public static OrderDao getOrderDao() {
		return OrderDaoImp.getInstance();
	}
	
	public static ShopDao getShopDao() {
		return ShopDaoImp.getInstance();
	}
	
}
